<?php
	class CriarConteudo
	{
		public static function execute($arquivoIncluir)
		{
			$conteudo  = "\t" . 'session_start();' . "\n\t" . 'include_once(' . "'" . '../config/config.inc' . "');\n" . '?>' . "\n";
			$conteudo .= '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
			<html>
			<head>
			<title><?= $GLOBALS[' . "'" . 'tituloSite' . "'" . '] ?></title>
			<?= $meta ?>
			<?= $css ?>
			<?= $javascript ?>
			</head>
			<body>
			<? include($raiz . ' . "'" . '/includes/topo.php' . "'" . '); ?>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td width="185" valign="top"><? include($raiz . ' . "'" . '/includes/menu_lateral.php' . "'" . '); ?></td>
			    <td valign="top" class="mctop">
			    <table width="100%" border="0" cellspacing="0" cellpadding="0">
				  <tr>
				    <td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td width="10"><img src="<?= $raizImagens ?>/spacer.gif" width="10" height="5"></td>
							<td><img src="<?= $raizImagens ?>/pipe_bg_center.jpg" width="15" height="5"></td>
						  </tr>
					    </table>
				    </td>
				    <td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td><div align="right"><img src="<?= $raizImagens ?>/pipe_bg_center.jpg" width="15" height="5"></div></td>
							<td width="10"><img src="<?= $raizImagens ?>/spacer.gif" width="10" height="5"></td>
						  </tr>
					    </table>
					</td>
				  </tr>
				</table>
			       <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?= $raizImagens ?>/mc_main_bg.gif" class="mcbg">
			          <tr>
			            <td>
						   <table width="100%"  border="0" cellspacing="0" cellpadding="0">
			                <tr>
			                  <td width="30"><img src="<?= $raizImagens ?>/main_content_header_left.jpg" width="30" height="34"></td>
			                  <td background="<?= $raizImagens ?>/main_content_header_center.jpg"><div align="center"><?= $GLOBALS[' . "'" . 'tituloSite' . "'" . '] ?></div></td>
			                  <td width="30"><img src="<?= $raizImagens ?>/main_content_header_rigth.jpg" width="30" height="34"></td>
			                </tr>
			               </table>
						</td>
			          </tr>
			          <tr>
			            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
			              <tr>
			                <td width="24"><img src="<?= $raizImagens ?>/main_content_header_under_l.jpg" width="24" height="26"></td>
			                <td background="<?= $raizImagens ?>/main_content_header_under_c.jpg">&nbsp;</td>
			                <td width="25"><img src="<?= $raizImagens ?>/main_content_header_under_r.jpg" width="25" height="26"></td>
			              </tr>
			            </table>
					  </td>
			          </tr>
			          <tr>
			            <td>
						 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
			              <tr>
			                <td width="24" background="<?= $raizImagens ?>/mc_bg_top_left.jpg"></td>
			                <td bgcolor="#FFFFFF"><div align="center">' . $arquivoIncluir . '</div><br></td>
			                <td width="24" background="<?= $raizImagens ?>/mc_bg_top_rigth.jpg"></td>
			              </tr>
			             </table>
						</td>
			          </tr>
			          <tr>
			            <td>
						 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
			              <tr>
			                <td width="27"><img src="<?= $raizImagens ?>/mc_box_bottom_left.jpg" width="27" height="23"></td>
			                <td background="<?= $raizImagens ?>/mc_box_bottom_center.jpg">&nbsp;</td>
			                <td width="26"><img src="<?= $raizImagens ?>/mc_box_bottom_rigth.jpg" width="26" height="23"></td>
			              </tr>
			             </table>
						</td>
			          </tr>
			        </table>
				</td>
			  </tr>
			</table>
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td><? include($raiz . ' . "'" . '/includes/rodape.php' . "'" . '); ?></td>
			  </tr>
			</table>
			</body>
			</html>';

		    return $conteudo;
		}
	}
?>